/*
 * ODO: Real-Time In-Memory ORM/DBMS Grid software
 * Copyright (c) 2008, Michael Oksenenko
 * All rights reserved.
 */
#include "Version.hpp"

#include <sstream>

using namespace odo;

const unsigned Version::MAJOR = 2;
const unsigned Version::MINOR = 0;
const unsigned Version::BUILD = 4;

unsigned Version::getMajor() const {
	return MAJOR;
}

unsigned Version::getMinor() const {
	return MINOR;
}

unsigned Version::getBuild() const {
	return BUILD;
}

std::wstring Version::toString() const {
	std::wstringstream ss;
	ss << MAJOR << L"." << MINOR << L"." << BUILD;
	return ss.str();
}

Version::~Version() {
	// void
}

Version::Version() {
	// void
}
